public class text8 {
    public  static boolean fun8(int[]array){
        int count=0;
        for(int i=0;i< array.length;i++){
            if(array[i]%2==1){
                count++;
            } else {
                count=0;
            }
            if(count==3)
                return true;
        }
        return false;
    }

    public static void main(String[] args) {
        int[] array={1,2,3,4,5,7,9,10};
        boolean ret = fun8(array);
        System.out.println(ret);
    }
}
